﻿using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Kaiser.Modules.Core.Aggregates
{
    /// <summary>
    /// 销售单
    /// </summary>
    public class SaleBills:Bills<SaleBills>
    {
        public string BillCode
        {
            get; set;
        }

        public int BillType
        {
            get;
            set;
        }

        /// <summary>
        /// 销售对象
        /// </summary>
        public Company Company
        {
            get;
            set;
        }

 

        /// <summary>
        /// 销售对象
        /// </summary>
        public float BillAmount
        {
            get;
            set;
        }

        public float DiscountAmount
        {
            get;
            set;
        }

        public double DiscountRate
        {
            get;
            set;
        }

        public float GetAmount
        { get; set; }


        public float OweAmount
        { get; set; }

        public SettleAcct SettleAcct
        { get; set; }

        public SaleOrderBills SaleOrder
        {
            get; set;
        }

        public DateTime BillDateTime { get; set; }


        public List<SaleBillItems> SaleBillItems
        {
            get
            {
                return new List<SaleBillItems>();
            }
        }

    }
}
